package com.ljs.clickhousedemo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * t_order_item
 * </p>
 *
 * @author ljs
 * @since 2021-10-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("order_db.t_order_item")
@ApiModel(value = "TOrderItem对象", description = "t_order_item")
public class TOrderItem implements Serializable {


    private String id;

    @TableField("sum_order_id")
    private Long sumOrderId;

    @TableField("sub_order_id")
    private Long subOrderId;

    @TableField("sub_order_sn")
    private String subOrderSn;

    @TableField("store_no")
    private String storeNo;

    @TableField("total_amount")
    private Long totalAmount;

    @TableField("pay_amount")
    private Long payAmount;

    @TableField("reduce_amount")
    private Long reduceAmount;

    @TableField("spu_id")
    private Long spuId;

    @TableField("goods_image_url")
    private String goodsImageUrl;

    @TableField("goods_image_list")
    private String goodsImageList;

    @TableField("goods_name")
    private String goodsName;

    @TableField("goods_brand_name")
    private String goodsBrandName;

    @TableField("goods_spec")
    private String goodsSpec;

    @TableField("goods_gc_name")
    private String goodsGcName;

    @TableField("sku_id")
    private Long skuId;

    @TableField("sku_name")
    private String skuName;

    @TableField("sku_sale_price")
    private Long skuSalePrice;

    @TableField("sku_num")
    private Long skuNum;

    @TableField("sku_image_url")
    private String skuImageUrl;

    @TableField("sku_spec")
    private String skuSpec;

    @TableField("supplier_id")
    private Long supplierId;

    @TableField("supplier_helper_id")
    private Long supplierHelperId;

    @TableField("settle_type")
    private Long settleType;

    @TableField("com_percent")
    private Float comPercent;

    @TableField("store_percent")
    private Float storePercent;

    @TableField("retail_supply_price")
    private Long retailSupplyPrice;

    @TableField("after_sales_status")
    private Long afterSalesStatus;

    @TableField("after_sales_apply_id")
    private Long afterSalesApplyId;

    @TableField("create_id")
    private Long createId;

    @TableField("create_time")
    private Date createTime;

    @TableField("update_id")
    private Long updateId;

    @TableField("update_time")
    private Date updateTime;

    @TableField("is_deleted")
    private Long isDeleted;

    @TableField("activity_id")
    private Long activityId;

    @TableField("order_type")
    private Long orderType;

    @TableField("object_id")
    private String objectId;

    @TableField("store_user_point")
    private Float storeUserPoint;

    @TableField("invite_store_no")
    private String inviteStoreNo;

    @TableField("warranty_ratio")
    private Float warrantyRatio;

    @TableField("wholesale_freight")
    private Long wholesaleFreight;

    @TableField("_sign")
    private Long sign;

    @TableField("_version")
    private Long version;


}
